import request from '@/utils/request'
export const apiGetDept = (params, loading) => {
  return request({
    url: '/org/deptController/referGrid',
    method: 'get',
    params,
    loading,
    autoUntie: false,
  })
}
export const apiGetUser = (params, loading) => {
  return request({
    url: `/permission/userQueryController/referGrid`,
    method: 'get',
    params,
    loading,
    autoUntie: false,
  })
}
export const apiGetDuty = (params, loading) => {
  return request({
    url: '/org/dutyController/referGrid',
    method: 'get',
    params,
    loading,
    autoUntie: false,
  })
}
export const apiGetEnum = (params, loading) => {
  return request({
    url: '/org/enumTypeController/referGrid',
    method: 'get',
    params,
    loading,
    autoUntie: false,
  })
}

export const apiGetStatusMeta = (params, loading) => {
  return request({
    url: '/org/statusMetaController/referGrid',
    method: 'get',
    params,
    loading,
    autoUntie: false,
  })
}
